package cv.gzd.robot.pojo.po;

/**
 * @author Jun
 *
 */
public enum StateCode {
    //FORWARD前进，LEFT左转，RIGHT右转，BACKWARD后退，STOP停止
    FORWARD(9001,"向前"),
    LEFT(9002,"向左"),
    RIGHT(9003,"向右"),
    BACKWARD(9004,"向后"),
    STOP(9005,"停止");

    private final int code;
    private final String ward;

    StateCode(int code,String ward) {
        this.code = code;
        this.ward=ward;
    }

    public int getCode() {
        return code;
    }

    public String getWard() {
        return ward;
    }
}
